@import "../../assets/base.scss";
.task-show-model {
  height: auto;
  margin-bottom: 20rpx;
  background: #fff;
  &:active{
    background-color: #eeeeee;
  }
  .task-top {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10rpx 0;
    color: $subTitleColor;
    text {
      display: block;
    }
    .left {
      display: flex;
      align-items: center;
      width: 50%;
      padding-left: 30rpx;
      font-size: 28rpx;
      image {
        width: 80rpx;
        height: 80rpx;
        border-radius: 50%;
        border: 1rpx solid $borderColor;
        box-sizing: border-box;
      }
      .user-name {
        color: $titleColor;
        font-size: 28rpx;
        margin-left: 20rpx;
      }
    }
    .right {
      width: 50%;
      padding-right: 30rpx;
      text-align: right;
      font-size: 22rpx;
    }
  }
  .thumb {
    position: relative;
    width: 690rpx;
    margin: 6rpx auto 0;
    overflow: hidden;
    image {
      display: block;
      width: 100%;
    }
    .thumb-title {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 60rpx;
      line-height: 60rpx;
      font-size: 28rpx;
      color: #fff;
      background-color: rgba(0, 0, 0, 0.6);
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      text {
        margin-left: 20rpx;
      }
    }
    .toTop {
      position: absolute;
      top: 9rpx;
      left: -34rpx;
      width: 120rpx;
      height: 40rpx;
      line-height: 40rpx;
      font-size: 22rpx;
      text-align: center;
      background: #f7f7f7;
      transform: rotate(-45deg);
      border-top: 1px solid e6e6e6;
      border-bottom: 1px solid $borderColor;
    }
    .best {
      position: absolute;
      top: 42rpx;
      left: -50rpx;
      width: 220rpx;
      height: 40rpx;
      line-height: 40rpx;
      font-size: 22rpx;
      text-align: center;
      background: #f7f7f7;
      color: $themeColor;
      transform: rotate(-45deg);
      border-top: 1px solid e6e6e6;
      border-bottom: 1px solid $borderColor;
    }
  }

  .task-tags {
    display: flex;
    align-items: center;
    width: 100%;
    height: 70rpx;
    font-size: 24rpx;
    .tags {
      display: flex;
      width: 60%;
      padding-left: 30rpx;
      .tag {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 3rpx 10rpx;
        background: #f5f5f5;
        margin-left: 6rpx;
      }
    }
    .kind {
      width: 40%;
      text-align: right;
      padding-right: 30rpx;
      text{
        font-weight: 600;
      }
    }
  }
}
